// @Author EthanScriptOn
// @Desc
package request

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

func (l *LoginRequest) IsValid() bool {
	return l.Username != "" && l.Password != ""
}
